package com.fancy.learncenter.bean;

import java.util.List;

/**
 * Created by Hyy on 2016/12/28.
 */

public class ShowBannerDataBean {


    /**
     * category : {"categoryList":[{"id":1,"parentId":0,"name":"英语","iconUrl":"http://fancy-oss-hz.oss-cn-hangzhou.aliyuncs.com/test/flc_app/show/En%20icon%402x.png","sort":0,"type":1},{"id":2,"parentId":0,"name":"科学","iconUrl":"http://fancy-oss-hz.oss-cn-hangzhou.aliyuncs.com/test/flc_app/show/En%20icon%402x.png","sort":0,"type":1},{"id":3,"parentId":0,"name":"非凡故事汇","iconUrl":"http://fancy-oss-hz.oss-cn-hangzhou.aliyuncs.com/test/flc_app/show/story%20icon%402x.png","sort":0,"type":1},{"id":4,"parentId":0,"name":"艺术","iconUrl":"http://fancy-oss-hz.oss-cn-hangzhou.aliyuncs.com/test/flc_app/show/En%20icon%402x.png","sort":0,"type":1},{"id":1,"parentId":null,"name":"牛蛙妈妈说","iconUrl":"","sort":0,"type":2},{"id":2,"parentId":null,"name":"苹果妈妈","iconUrl":"","sort":0,"type":2},{"id":3,"parentId":null,"name":"香蕉妈妈","iconUrl":"","sort":0,"type":2},{"id":4,"parentId":null,"name":"菠萝妈妈","iconUrl":"","sort":0,"type":2},{"id":5,"parentId":null,"name":"榴莲妈妈","iconUrl":"","sort":0,"type":2}]}
     */

    private CategoryBean category;

    public CategoryBean getCategory() {
        return category;
    }

    public void setCategory(CategoryBean category) {
        this.category = category;
    }

    public static class CategoryBean {
        private List<CategoryListBean> categoryList;

        public List<CategoryListBean> getCategoryList() {
            return categoryList;
        }

        public void setCategoryList(List<CategoryListBean> categoryList) {
            this.categoryList = categoryList;
        }

        public static class CategoryListBean {
            /**
             * id : 1
             * parentId : 0
             * name : 英语
             * iconUrl : http://fancy-oss-hz.oss-cn-hangzhou.aliyuncs.com/test/flc_app/show/En%20icon%402x.png
             * sort : 0
             * type : 1
             */

            private int id;
            private int parentId;
            private String name;
            private String iconUrl;
            private int sort;
            private int type;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getParentId() {
                return parentId;
            }

            public void setParentId(int parentId) {
                this.parentId = parentId;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getIconUrl() {
                return iconUrl;
            }

            public void setIconUrl(String iconUrl) {
                this.iconUrl = iconUrl;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
        }
    }
}
